package com.guoxue.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.guoxue.dao.ITotalInfoDao;
import com.guoxue.domain.TotalInfoVo;
import com.guoxue.service.ITotalInfoService;

@Service("totalInfoService")
public class TotalInfoServiceImpl implements ITotalInfoService{
	
	@Resource
	private ITotalInfoDao dao;

	@Override
	public TotalInfoVo getInfoByUid(int id) {
		return dao.getInfoByUid(id);
	}

	@Override
	public void saveOrUpateInfo(TotalInfoVo total) {
		dao.saveOrUpateInfo(total);
	}

}
